package communication.message;

/***
 * 
 * @author Bogusław Zaręba
 *
 */

public class PlayerLogin {
	private String nick;
	private String gameType;
	
	public PlayerLogin(String nick, String gameType) {
		this.nick = nick;
		this.gameType = gameType;
	}
	
	public String getNick() {
		return nick;
	}
	
	public String getGameType() {
		return gameType;
	}
	
	public String toString() {
		return XMLTagCreator.singleTag("playerLogin", "nick", nick, "gameType", gameType);
	}
}
